# -*- coding: utf-8 -*-
import urllib2
import json

url = 'http://stox.vn/Home/GetTicker'

# download the json string
json_string = urllib2.urlopen(url).read()

# de-serialize the string so that we can work with it
the_data = json.loads(json_string)

for data in the_data:
    if data['label']=='PSD':
        print 'x'
        